<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <title>Document</title>
  </head>
  <body>
    <script>
    let mark = +prompt('请输入您的分数')
    if(mark >= 90){
      document.write("A")
    }else if (mark >= 80) {
      document.write('B')
    }else if (mark >= 70) {
      document.write('C')
    }else if (mark >= 60) {
      document.write('D')
    } else {
      document.write('E')
    }
  </script>
  </body>
</html>